package _03AbstractorDesignPattern;

import common.Fruit;

public class Main03 {
    public static void main(String[] args) {
        FruitFactory ff=new NorthFruitFactory();
        Fruit apple = ff.getApple();
        apple.get();
        FruitFactory ff1=new SouthFruitFactory();
        Fruit apple1 = ff1.getApple();
        apple1.get();
        System.out.println("#############");
        FruitFactory bf=new NorthFruitFactory();
        Fruit bananan = bf.getBananan();
        bananan.get();
        FruitFactory bf1=new SouthFruitFactory();
        Fruit bananan1 = bf1.getBananan();
        bananan1.get();
    }
}
